package com.guigu.springcloud.handler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.guigu.springcloud.common.CommonResult;

public class CustomerBlockHandler {

    public static CommonResult handlerException(BlockException exception) {
        return new CommonResult(500, "按客戶自定义, global handlerException----1");
    }

    public static CommonResult handlerException2(BlockException exception) {
        return new CommonResult(500, "按客戶自定义, global handlerException----2");
    }
}
